function haha(){
    var  diId=[];
    //采购量
    var b = [];
    var elementsByName = document.getElementsByClassName("aaaaaaa");
    for (elementsByNamekey in elementsByName) {
        if (elementsByName[elementsByNamekey].checked){
            var caigouliang =$("input[name=caigouliang]");
            b.push(caigouliang[elementsByNamekey].value);
            diId.push(elementsByName[elementsByNamekey].value)
        }
    }
    var val = $("#podiId").val();
    $.ajax({
        url: "/myspringboot/purchasement/updatecgl",
        data: {diId:diId,caigoulaing:b,podiId:val},
        type: "post",
        traditional:true,
        dataType: "json",
        success: function (result) {
         alert (result.msg);
        }
    });
}